//
//  UserDataHelper.h
//  FoodCorner
//
//  Created by lanou3g on 16/3/11.
//  Copyright © 2016年 zhangchao. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AVOSCloud.h>
#import <RongIMKit/RongIMKit.h>

@interface UserDataHelper : NSObject<RCIMUserInfoDataSource>


typedef void(^MyAsynchronousBlock)(NSData * data);

- (void)asynchronousPOSTWithURLString:(NSString *)urlString AppKey:(NSString *)appKey AppSecret:(NSString *)appSecret body:(NSData *)body PassBlock:(MyAsynchronousBlock)passBlock;

//获取单例
+ (instancetype)shareInstance;
//获取token
@property (nonatomic ,strong)NSString *token;
//获取当前用户类型
@property (nonatomic ,strong)NSString *userType;

//获取当前的用户
@property (nonatomic ,strong)AVUser *myUser;


//获取Token
- (void)getToken;


@end
